

export default () => {

  const resetForm = ( formEl ) => {
    if ( !formEl ) return
    formEl.resetFields()
  }

  return { resetForm };
}